const express = require('express')
const router = express.Router()

// 导入查询标签模块
const queryAllTag = require('../src/controller/comment.js')

// 查询所有标签
router.get('/queryAllComm', queryAllTag.queryAllComm)

// 评论文章
router.post('/commentToArt', queryAllTag.commentToArt)

// 回复评论
router.post('/reply', queryAllTag.reply)



module.exports =router;